import csv


class DataBuy:
    data_buy = []
    with open('data_buy.csv', newline='') as csvfile:
        reader = csv.reader(csvfile)
        for row in reader:
            # row 是一个列表，包含了这一行的所有数据
            data_buy.append(row)
